import request from '@/utils/request.js'

// 上传文件
export const uploadFile = (data) => {
  return request.post('/fileUpload', data)
}

// 下载文件
export const downloadFile = (fileName) => {
  return request.get('/fileDownload/' + fileName)
}
